//
//  HZWWebViewController.m
//  开心一刻
//
//  Created by lanou on 16/4/8.
//  Copyright © 2016年 刘洋. All rights reserved.
//

#import "HZWWebViewController.h"

@interface HZWWebViewController ()
@property(nonatomic,strong)UIWebView * webview;

@end

@implementation HZWWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
   // self.view.backgroundColor = [UIColor redColor];
    // 创建webview
    
    self.webview = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, KedWidth, KedHeight)];
    // 将webview 添加到 viewcontroller上面
    [self.view addSubview:_webview];
    [_webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_shareWebstring]]];
    UIView * view =[[UIView alloc]initWithFrame:CGRectMake(0, 0, KedHeight, 70)];
    view.backgroundColor =[UIColor whiteColor];
    [self.view addSubview:view];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
